# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nemo-qml-plugin-connectivity
pkgver=0.2.10
pkgrel=0
pkgdesc="Nemo QML connectivity plugin"
url="https://github.com/sailfishos/nemo-qml-plugin-connectivity"
# armhf blocked by libqofonoext
arch="all !armhf"
license="BSD-3-Clause"
makedepends="
	libconnman-qt-dev
	libqofonoext-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
source="https://github.com/sailfishos/nemo-qml-plugin-connectivity/archive/$pkgver/nemo-qml-plugin-connectivity-$pkgver.tar.gz"
options="!check" # No tests

build() {
	qmake-qt5
	make
}

check() {
	make check
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="
455dffb4e398c01874e62506683f88c634dbfd6d949dd26958f0efa1eded5f1f7f281a1c3f74ef479b587bd8a123cccac94a8322155d0cc3bed0fa865dce0ea5  nemo-qml-plugin-connectivity-0.2.10.tar.gz
"
